package com.appleword.biz.book.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.appleword.common.annotation.Excel;
import com.appleword.common.core.domain.BaseEntity;

/**
 * 文章对象 appleword_article
 * 
 * @author apple
 * @date 2024-05-13
 */
public class ApplewordArticle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 文章标题 */
    @Excel(name = "文章标题")
    private String title;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String image;

    /** 视频合集 */
    @Excel(name = "视频合集")
    private String videoUrls;

    /** 书籍ID */
    @Excel(name = "书籍ID")
    private Long bookId;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String createdTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setVideoUrls(String videoUrls) 
    {
        this.videoUrls = videoUrls;
    }

    public String getVideoUrls() 
    {
        return videoUrls;
    }
    public void setBookId(Long bookId) 
    {
        this.bookId = bookId;
    }

    public Long getBookId() 
    {
        return bookId;
    }
    public void setCreatedTime(String createdTime) 
    {
        this.createdTime = createdTime;
    }

    public String getCreatedTime() 
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("image", getImage())
            .append("videoUrls", getVideoUrls())
            .append("bookId", getBookId())
            .append("createdTime", getCreatedTime())
            .toString();
    }
}